package com.ynet.middleground.contract.bean;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 签署操作人账号信息
 * @date 2020-04-20 10:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "意愿签署操作人账号信息", description = "意愿签署操作人账号信息，使用 e 签宝证书")
public class WillnessInfoBean implements Serializable {

    private static final long serialVersionUID = 7015860616268409462L;

    @ApiModelProperty(value = "签署操作人账号（悟空SDK产品创建的账户，即实际的签署方账户）\n注：签署主体账号为个人的话，操作人账号id需和主体账号id保持一致",
        notes = "签署操作人账号（悟空SDK产品创建的账户，即实际的签署方账户）\n注：签署主体账号为个人的话，操作人账号id需和主体账号id保持一致", dataType = "String", required = true)
    @NotBlank(message = "签署操作人账号标识不能为空")
    private String willnessAccountId;

    @ApiModelProperty(value = "签署操作人完成的签署意愿认证的记录id", notes = "签署操作人完成的签署意愿认证的记录id", dataType = "String",
        required = true)
    @NotBlank(message = "意愿认证 id 不能为空")
    private String bizId;

}
